﻿using NLog;
using System;
using System.Collections.Generic;
using System.Text;

namespace Common
{
    public class LogHelper
    {
        private readonly static NLog.Logger logger = LogManager.GetCurrentClassLogger();
        public static void Debug(object obj)
        {
            logger.Debug(obj);
        }
        public static void WriteExceptionLog(Exception ex)
        {
            logger.Error(ex);
        }
        public static void Error(object obj)
        {
            logger.Error(obj);
        }
    }
}
